<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="copyright" content=""/>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
	<title>重置密码成功</title>
	<link href="../favicon.ico" rel="shortcut icon">
	<link href="https://cdn.jsdelivr.net/gh/bootcdn/BootCDN/ajax/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
	<link href="${pageContext.request.contextPath}/css/system/public.css" />
	<link href="${pageContext.request.contextPath}/css/system/find_psw.css" />
    
  	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
</head>
<body class="s_body k_body">
	<ul class="s_header">
        <li><img src="${pageContext.request.contextPath}/images/system/s_logo.png" /></li>
        <li><a href="http://cecook.cn/">首页</a></li>
        <li><a href="javascript:;">产品优势</a></li>
        <li><a href="javascript:;">成为代理商</a></li>
        <li><a href="javascript:;">联系我们</a></li>
        <li class="s_header_on"><a href="${pageContext.request.contextPath}/ui/loginPwd">登录</a></li>
        <li><a href="${pageContext.request.contextPath}/ui/registerOne">申请试用</a></li>
    </ul>

    <div class="s_content">
        <h3><img src="${pageContext.request.contextPath}/images/system/tick.png" /> &nbsp;重置密码成功</h3>
        <p class="s_again_login"><i class="miao">3</i>秒后跳转登录页...</p>
    </div>
     
    <div class="s_footer">
        <p>zhfeat</p>
    </div>
    <script> 
		 function toLogin(){
			var account = $.cookie('account');
			var c = $('.miao').text();
			if(c == "3"){
				$('.miao').text("2");
			}
			if(c == "2"){
				$('.miao').text("1");
			}
			if(c == "1"){
				window.location.href="${pageContext.request.contextPath}"; 
				/* $.post("${pageContext.request.contextPath}/api/login/code",{
					"account":account
				},function(data){
					if(data.error_code == "0"){
						window.location.href="${pageContext.request.contextPath}/api/clue_customer/customerHome";
					}else{
						alert('系统异常,请重新登录');
						alert(data.error_code);
						alert(data.message);
						window.location.href="${pageContext.request.contextPath}/ui/loginPwd";
					}
				},'json'); */
			}
				
		} 
		//使用方法名字执行方法 
		window.setInterval(toLogin, 1000);  
</script> 
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<script type="text/javascript">
	function toShow(){
		window.loaction.href="http://cecook.cn/";
	}
</script> 
</body>
</html>

